﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.ObjectModel;

namespace MicroLink.SharePointServices.SolutionAdministration
{
    public class SolutionProperties
    {
        private Guid m_id;

        private Collection<string> m_deployedWebApplications;

        private bool m_deployed;
        private bool m_containsWebApplicationResource;

        internal SolutionProperties(
            Guid id, 
            bool deployed, 
            bool containsWebApplicationResource, 
            Collection<string> deployedWebApplications)
        {
            m_id = id;
            m_deployed = deployed;
            m_containsWebApplicationResource = containsWebApplicationResource;
            m_deployedWebApplications = deployedWebApplications;
        }

        public bool Deployed
        {
            get { return m_deployed; }
        }

        public bool ContainsWebApplicationResource
        {
            get { return m_containsWebApplicationResource; }
        }

        public Guid Id
        {
            get { return m_id; }
        }

        public Collection<string> DeployedWebApplications
        {
            get { return m_deployedWebApplications; }
        }
    }
}
